using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Events;

public class UIEvent : Singleton<UIEvent>
{
    public Action onUIGameStartClickNewGame;
    public void OnUIGameStartClickNewGame()
    {
        onUIGameStartClickNewGame?.Invoke();
    }

    public Action onUIGameStartClickResume;

    public void OnUIGameStartClickResume()
    {
        onUIGameStartClickResume?.Invoke();
    }
    
    
    
    
    
    public Action onUIDragGameArea;

    public void OnDragGameArea()
    {
        onUIDragGameArea?.Invoke();
    }
    public Action onUIDragGameAreaStart;

    public void OnDragGameAreaStart()
    {
        onUIDragGameAreaStart?.Invoke();
    }
    public Action onUIDragGameAreaEnd;

    public void OnDragGameAreaEnd()
    {
        onUIDragGameAreaEnd?.Invoke();
    }



    public Action onUIHUDClickLeftButton;

    public void OnHUDClickLeftButton()
    {
        onUIHUDClickLeftButton?.Invoke();
    }
    public Action onUIHUDClickRightButton;

    public void OnHUDClickRightButton()
    {
        onUIHUDClickRightButton?.Invoke();
    }
    public Action onUIHUDClickBackButton;

    public void OnHUDClickBackButton()
    {
        onUIHUDClickBackButton?.Invoke();
    }
    public Action onUIHUDClickReStartButton;

    public void OnUIHUDClickReStartButton()
    {
        onUIHUDClickReStartButton?.Invoke();
    }
}
